<?php

/**
 * Author: Hancock
 * Email: 84622365@qq.com
 * Date: 8/16/2016
 * Des: 标签
 */
class AppModel extends Model
{
    public function __construct($alia='')
        {   
            $this->setDb(strtolower(str_replace("Model", "", __CLASS__)));
            parent::__construct(getTableName(get_called_class(), __CLASS__), $alia);
        }

}
